package com.edusci.backend.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lungcen
 * @since 2024-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("teacher")
public class Teacher implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 老师姓名
     */
    private String name;

    /**
     * 老师年龄
     */
    private Integer age;

    /**
     * 老师性别
     */
    private String sex;

    /**
     * 老师教授年纪
     */
    private String grade;

    /**
     * 科目
     */
    private int subject;

    /**
     * 老师图片
     */
    private String photo;

    /**
     * 老师简介
     */
    private String introductory;


}
